# CMakeLists
# Author(s): xuming.Wong <xuming.Wong@gmail.com>

#-----------------------------------------------------------------------------
# Third party dependency CEGUI Expat XML Parser
# Setup the CEGUI Expat XML Parser lib sources

FILE(GLOB SRC *.cpp)

SET(INC .
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base/WindowRendererSets/Falagard
	${LIBDIR}/CeguiDependencies/include
)
#add win32 preprocessors
if(WIN32)
#add this processor for have CEGUI include config.h
add_definitions(-DXML_STATIC)
add_definitions(-DHAVE_CONFIG_H)
endif()

BUILD_LIB(CEGUIExpatParser "${SRC}" "${INC}")

